home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / vim_src.zip / VERSION.C < prev    next >
Text File  |  1993-01-12  |  11KB  |  204 lines

  1. /* vi:ts=4:sw=4:tw=77
  2.  *
  3.  *
  4.  * VIM - Vi IMitation
  5.  *
  6.  * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  7.  *                            Tim Thompson            twitch!tjt
  8.  *                            Tony Andrews            onecom!wldrdg!tony 
  9.  *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  10.  */
  11.  
  12. /*
  13.  Started with Stevie version 3.6 (Fish disk 217) - GRWalter (Fred)
  14.  
  15.  VIM 1.0    - Changed so many things that I felt that a new name was required
  16.             (I didn't like the name Stevie that much: I don't have an ST).
  17.             - VIM stands for "Vi IMitation".
  18.             - New storage structure, MULTI-LEVEL undo and redo,
  19.             improved screen output, removed an awful number of bugs,
  20.             removed fixed size buffers, added counts to a lot of commands,
  21.             added new commands, added new options, added 'smart indent',
  22.             added recording mode, added script files, moved help to a file,
  23.             etc. etc. etc.
  24.             - Compiles under Manx/Aztec C 5.0. You can use "rez" to make VIM
  25.             resident.
  26.             - Bram Moolenaar (Mool)
  27.  
  28.  VIM 1.09 - spaces can be used in tags file instead of tabs (compatible with
  29.             Manx ctags).
  30.  
  31.  VIM 1.10 - Csh not required anymore for CTRL-D. Search options /e and /s added.
  32.             Shell option implemented. BS in replace mode does not delete
  33.             character. Backspace, wrapmargin and tags options added.
  34.             Added support for Manx's QuickFix mode (just like "Z").
  35.             The ENV: environment variables instead of the Old Manx environment
  36.             variables are now used, because Vim was compiled with version 5.0d
  37.             of the compiler. "mool" library not used anymore. Added index to
  38.             help screens.
  39.  
  40.  VIM 1.11 - removed bug that caused :e of same file, but with name in upper case,
  41.             to re-edit that file.
  42.  
  43.  VIM 1.12 - The second character of several commands (e.g. 'r', 't', 'm') not
  44.             :mapped anymore (UNIX vi does it like this, don't know why); Some
  45.             operators did not work when doing a 'l' on the last character in
  46.             a line (e.g. 'yl'); Added :mapping when executing registers;
  47.             Removed vi incompatibility from 't' and 'T' commands; :mapping! also
  48.             works for command line editing; Changed a few details to have Vim
  49.             run the macros for solving a maze and Towers of Hanoi! It now also
  50.             runs the Turing machine macros!
  51.  
  52.  VIM 1.13 - Removed a bug for !! on empty line. "$" no longer puts cursor at
  53.             the end of the line when combined with an operator. Added
  54.             automatic creation of a script file for recovery after a crash.
  55.             Added "-r" option. Solved bug for not detecting end of script file.
  56.             ".bak" is now appended, thus "main.c" and "main.h" will have
  57.             separate backup files.
  58.  
  59.  VIM 1.14 - Removed a few minor bugs. Added "-n" option to skip autoscript.
  60.             Made options more Vi compatible. Improved ^C handling. On serious
  61.             errors typahead and scripts are discarded. 'U' is now correctly
  62.             undone with 'u'. Fixed showmatch() handling of 'x' and '\x'.
  63.             Solved window size dependency for scripts by adding ":winsize"
  64.             commands to scripts. This version released on Fish disk 591.
  65.  
  66.  VIM 1.15 - No extra return in recording mode (MCHAR instead of MLINE buffer).
  67.             plural() argument is now a long. Search patterns shared between
  68.             :g, :s and /. After recovery a message is given. Overflow of mapbuf
  69.             is detected. Line number possible with :read. Error message when
  70.             characters follow a '$' in a search pattern. Cause for crash
  71.             removed: ":s/pat/repl/g" allocated not enough memory. Option
  72.             "directory" added. Option "expandtab" added. Solved showmode non-
  73.             functioning. Solved bug with window resizing. Removed some *NULL
  74.             references. CTRL-], * and # commands now skips non-identifier
  75.             characters. Added tag list, CTRL-T, :pop and :tags commands.
  76.             Added jump list, CTRL-O and CTRL-I commands. Added "shiftround"
  77.             option. Applied AUX and Lattice mods from Juergen Weigert.
  78.             Finally made linenr_t a long, files can be > 65000 lines!
  79.             :win command could be written to script file halfway a command.
  80.             Option shelltype added. With ^V no mapping anymore.
  81.             Added :move, :copy, :t, :mark and :k. Improved Ex address parsing.
  82.             Many delimiters possible with :s.
  83.  
  84.  VIM 1.16 - Solved bug with zero line number in Ex range. Added file-number to
  85.             jump list. Solved bug when scrolling downwards. Made tagstack vi
  86.             compatible. Cmdline editing: CTRL-U instead of '@'. Made Vim DICE
  87.             compatible. Included regexp improvements from Olaf Seibert,
  88.             mapstring() removed. Removed bug with CTRL-U in insert mode.
  89.             Count allowed before ". Added uppercase (file) marks. Added
  90.             :marks command. Added joinspaces option. Added :jumps command. Made
  91.             jumplist compatible with tag list. Added count to :next and :Next.
  92.  
  93.  VIM 1.17 - Removed '"' for Ex register name. Repaired stupid bug in tag code.
  94.             Now compiled with Aztec 5.2a. Changed Arpbase.h for use with 2.04
  95.             includes. Added repdel option. Improved :set listing. Added count
  96.             to 'u' and CTRL-R commands. "vi:" and "ex:" in modelines must now
  97.             be preceded with a blank. Option "+command" for command line and
  98.             :edit command added.
  99.  
  100.  VIM 1.18 - Screen was not updated when all lines deleted. Readfile() now
  101.             puts cursor on first new line. Catch strange disk label.
  102.             Endless "undo line missing" loop removed. With empty file 'O' would
  103.             cause this. Added window size reset in windexit(). Flush .vim file
  104.             only when buffer has been changed. Added the nice things from
  105.             Elvis 1.5: Added "equalprg" and "ruler" option. Added quoting.
  106.             Added third meaning to 'backspace' option: backspacing over start
  107.             of insert. Added "-c {command}" command line option. Made generating
  108.             of prototypes automatically. Added insert mode command CTRL-O and
  109.             arrow keys. CTRL-T/CTRL-D now always insert/delete indent. When
  110.             starting an edit on specified lnum there was redraw of first lines.
  111.             Added 'inputmode' option. Added CTRL-A and CTRL-S commands. '`' is
  112.             now exclusive (as it should be). Added digraphs as an option.
  113.             Changed implementation of parameters. Added :wnext command.
  114.             Added ':@r' command. Changed handling of CTRL-V in command line.
  115.             Block macros now work. Added keyword lookup command 'K'. Added
  116.             CTRL-N and CTRL-P to command line editing. For DOS 2.0x the Flush
  117.             function is used for the autoscript file; this should solve the
  118.             lockup bug. Added wait_return to msg() for long messages.
  119.  
  120.  VIM 1.19 - Changes from Juergen Weigert:
  121.             Terminal type no longer restricted to machine console. New
  122.             option -T terminal. New set option "term". Builtin termcap 
  123.             entries for "amiga", "ansi", "atari", "nansi", "pcterm". 
  124.             Ported to MSDOS. New set option "textmode" ("tx") to control 
  125.             CR-LF translation. CTRL-U and CTRL-D scroll half a screen full,
  126.             rather than 12 lines. New set option "writebackup" ("wb") to 
  127.             disable even the 'backup when writing' feature.
  128.             Ported to SunOS. Full termcap support. Does resize on SIGWINCH.
  129.  
  130.             Made storage.c portable. Added reading of ".vimrc". Added
  131.             'helpfile' option. With quoting the first char of an empty line
  132.             is inverted. Optimized screen updating a bit. Startup code 
  133.             looks for VIMINIT variable and .vimrc file first. Added option
  134.             helpfile. Solved bug of inserting deletes: redefined ISSPECIAL.
  135.             Changed inchar() to use key codes from termcap. Added parameters
  136.             for terminal codes. Replaced aux device handling by amiga window
  137.             handling. Added optional termcap code. Added 'V', format
  138.             operator.
  139.  
  140.  VIM 1.20 - wait_return only ignores CR, LF and space. 'V' also works for
  141.             single line. No redrawing while formatting text. Added CTRL-Z.
  142.             Added usage of termcap "ks" and "ke". Fixed showmatch().
  143.             Added timeout option. Added newfile argument to readfile().
  144.  
  145.  VIM 1.21 - Added block mode. Added 'o' command for quoting. Added :set inv.
  146.             Added pos2ptr(). Added repeating and '$' to Quoting.
  147.  
  148.  VIM 1.22 - Fixed a bug in doput() with count > 1.
  149.             Port to linux by Juergen Weigert included.
  150.             More unix semantics in writeit(), forceit flag ignores errors while 
  151.             preparing backup file. For UNIX, backup is now copied, not moved.
  152.             When the current directory is not writable, vim now tries a backup
  153.             in the directory given with the backupdir option. For UNIX, raw mode
  154.             has now ICRNL turned off, that allowes ^V^M. Makefiles for BSD,
  155.             SYSV, and linux unified in makefile.unix. For MSDOS
  156.             mch_get_winsize() implemented. Reimplemented builtin termcaps in
  157.             term.c and term.h. set_term() now handles all cases. Even builtins
  158.             when TERMCAP is defined. Show "..." while doing filename completion.
  159.  
  160.  VIM 1.23 -    Improved MSDOS version: Added function and cursor keys to builtin 
  161.             pcterm. Replaced setmode by settmode, delay by vim_delay and 
  162.             delline by dellines to avoid name conflicts. Made F1 help key.
  163.             Renamed makecmdtab to mkcmdtab and cmdsearch to csearch for 
  164.             8 char name limit. Wildcard expansion adds *.* to names without a 
  165.             dot. Added shell execution.
  166.             For unix: writeit() overwrites readonly files when forced write,
  167.             more safety checks. Termcap buffer for linux now 2048 bytes.
  168.             Expandone() no longer appends "*" to file name. Added "graphic"
  169.             option. Added ':' command to quoting.
  170.             
  171.  VIM 1.24    Adjusted number of spaces inserted by dojoin(). MSDOS version uses 
  172.             searchpath() to find helpfile. Fixed a few small problems. Fixed 
  173.             nasty bug in getperm() for SAS 6.0. Removed second argument from 
  174.             wait_return(). Script files accessed in binary mode with MSDOS. 
  175.             Added 'u' and 'U' commands to quoting (make upper or lower case). 
  176.             Added "CTRL-V [0-9]*" to enter any byte value. Fixed doput().
  177.             Dodis() displays register 0. Added CTRL-B to insert mode. Attempt 
  178.             to fix the lockup bug by adding Delay() to startscript(). -v 
  179.             option now implies -n option. doformat() added to improve 'V' 
  180.             command. Replace bool_t with int. Fixed handling of \& and ~ in
  181.             regsub(). Added interrupt handling in msdos.c for ctrl-break and
  182.             critical errors. Added scrolljump option. Added :stop. Added -d
  183.             argument. Fixed bug in quickfix startup from cli. Fixed enforcer
  184.             hit with aux:. Added CTRL-C handling to unix.c. Fixed "O<BS><CR>" 
  185.             bug with autoindent. Worked around :cq not working by adding a 
  186.             printf()!? Added default mapping for MSDOS PageUp etc. Fixed 
  187.             cursor position after 'Y'. Added shift-cursor commands. Changed 
  188.             ExpandFile() to keep names with errors. Added CLEAR and CURSUPD 
  189.             arguments to updateScreen(). Fixed CTRL-@ after a change command.
  190.             modname() changes '.' into '_'. Added emptyrows to screen.c. 
  191.             Fixed redo of search with offset. Added count to 'z' command. 
  192.             Made :so! work with :global. Added writing of cursor postition to 
  193.             startscript(). Minimized terminal requirements. Fixed problem 
  194.             with line in tags file with mixed spaces and tabs. Fixed problem 
  195.             with pattern "\\" in :s and :g.
  196. */
  197.  
  198. char           *Version = "VIM v1.24";
  199. #if !defined(linux) && defined(BSD) || defined(SYSV)
  200. char           *longVersion = "Vi IMitation v1.24 (5 Jan 1993) by Bram Moolenaar";
  201. #else
  202. char           *longVersion = "Vi IMitation v1.24 (" __DATE__ " " __TIME__ ") by Bram Moolenaar";
  203. #endif
  204.